//
//  HttpCommunicateDefine.h
//  MumMum
//
//  Created by shlity on 16/6/16.
//  Copyright © 2016年 Moresing Inc. All rights reserved.
//

#ifndef GoddessClock_HttpCommunicateDefine_h
#define GoddessClock_HttpCommunicateDefine_h

typedef NS_ENUM (NSInteger , HttpResponseCode)
{
    HttpResponseOk = 0,
    HttpResponseError,
    HttpResponseLoginError,
    HttpResponseCnout
};
//http://www.hnmobang.com/aschouas-mobang/swagger-ui.html
#define URL_BASE         @"https://www.hnmobang.com/aschouas-mobang/"//测试接口www.hnsuixiang.com
//#define URL_BASE         @"http://47.107.78.88/aschouas-mobang/"//测试接口www.hnsuixiang.com


#define UPDATE_FILE_JPG @"https://www.hnmobang.com/aschouas-mobang/"

//47.107.78.88
//#define URL_BASE         @"https://xx.hunanrenke.com/flyhkk-server/carrental/"

//#define URL_BASE         @"http://192.168.0.102:8080/flyhkk-server/carrental/"//测试接口

#define UNSUCCESS_REQUEST(Dict) [[Dict[@"code"] stringValue] isEqualToString:@"10000"]
#define SUCCESS_REQUEST(Dict) [[Dict[@"code"] stringValue] isEqualToString:@"1000"]
#define SUCCESS_REQUEST_OTHER(Dict) [[Dict[@"code"] stringValue] isEqualToString:@"1001"]


//#ifdef __ONLY_FOR_HTTP_COMMUNICATE__
//****************************************************************************/


/*****************************************************************************/

typedef NS_ENUM(NSUInteger,ServiceStatusTypeDefine){
    ServiceStatusTypeWaitingDefine = 1,
    ServiceStatusTypeWorkingDefine,
    ServiceStatusTypeFinishedDefine,
    ServiceStatusTypeDefineCount,
};

#endif
